[INFO] cloning repository https://github.com/Tehforsch/pundit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tehforsch/pundit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTehforsch%2Fpundit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTehforsch%2Fpundit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1fa3daa2e22b9374d377de58c3e416ebe8948c71
[INFO] checking Tehforsch/pundit against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTehforsch%2Fpundit" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Tehforsch/pundit
[INFO] finished tweaking git repo https://github.com/Tehforsch/pundit
[INFO] tweaked toml for git repo https://github.com/Tehforsch/pundit written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Tehforsch/pundit on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Tehforsch/pundit already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_yaml v0.8.26
[INFO] [stderr]   Downloaded pkg-config v0.3.28
[INFO] [stderr]   Downloaded rustc-serialize v0.3.25
[INFO] [stderr]   Downloaded prost-derive v0.8.0
[INFO] [stderr]   Downloaded iana-time-zone v0.1.59
[INFO] [stderr]   Downloaded generational-arena v0.2.9
[INFO] [stderr]   Downloaded dissimilar v1.0.7
[INFO] [stderr]   Downloaded prost-types v0.8.0
[INFO] [stderr]   Downloaded prost v0.8.0
[INFO] [stderr]   Downloaded serde_json v1.0.111
[INFO] [stderr]   Downloaded rusqlite v0.24.2
[INFO] [stderr]   Downloaded prost-build v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 551bee0bad7d37fcab9c3b517c991c16b68b3cd7d4e6b4816226b3a8dfe4e88a
[INFO] running `Command { std: "docker" "start" "551bee0bad7d37fcab9c3b517c991c16b68b3cd7d4e6b4816226b3a8dfe4e88a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "551bee0bad7d37fcab9c3b517c991c16b68b3cd7d4e6b4816226b3a8dfe4e88a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "551bee0bad7d37fcab9c3b517c991c16b68b3cd7d4e6b4816226b3a8dfe4e88a" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "551bee0bad7d37fcab9c3b517c991c16b68b3cd7d4e6b4816226b3a8dfe4e88a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "551bee0bad7d37fcab9c3b517c991c16b68b3cd7d4e6b4816226b3a8dfe4e88a" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling pkg-config v0.3.28
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking ahash v0.4.8
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking iana-time-zone v0.1.59
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]     Checking textwrap v0.16.0
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking termcolor v1.4.0
[INFO] [stderr]     Checking pathdiff v0.2.1
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking hashlink v0.6.0
[INFO] [stderr]     Checking walkdir v2.4.0
[INFO] [stderr]     Checking dissimilar v1.0.7
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.20.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking rusqlite v0.24.2
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking dirs v4.0.0
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking shellexpand v2.1.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling prost-derive v0.8.0
[INFO] [stderr]    Compiling clap_derive v3.2.25
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking prost v0.8.0
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking generational-arena v0.2.9
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]     Checking pundit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `InvalidNoteError` is never constructed
[INFO] [stdout]   --> src/note.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct InvalidNoteError;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InvalidTitleError` is never constructed
[INFO] [stdout]   --> src/note.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct InvalidTitleError;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InvalidNoteError` is never constructed
[INFO] [stdout]   --> src/note.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct InvalidNoteError;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InvalidTitleError` is never constructed
[INFO] [stdout]   --> src/note.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct InvalidTitleError;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `success` is never read
[INFO] [stdout]   --> tests/setup/mod.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct TestOutput {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 31 |     pub env: TestEnv,
[INFO] [stdout] 32 |     pub success: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/setup/dir_diff.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     Io(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 -     Io(std::io::Error),
[INFO] [stdout] 20 +     Io(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/setup/dir_diff.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     WalkDir(walkdir::Error),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 22 -     WalkDir(walkdir::Error),
[INFO] [stdout] 22 +     WalkDir(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/setup/mod.rs:140:31
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let path = &env.dir.path().clone();
[INFO] [stdout]     |                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 140 -     let path = &env.dir.path().clone();
[INFO] [stdout] 140 +     let path = &env.dir.path();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/setup/mod.rs:140:31
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let path = &env.dir.path().clone();
[INFO] [stdout]     |                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 140 -     let path = &env.dir.path().clone();
[INFO] [stdout] 140 +     let path = &env.dir.path();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/setup/mod.rs:140:31
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let path = &env.dir.path().clone();
[INFO] [stdout]     |                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 140 -     let path = &env.dir.path().clone();
[INFO] [stdout] 140 +     let path = &env.dir.path();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/setup/mod.rs:140:31
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let path = &env.dir.path().clone();
[INFO] [stdout]     |                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 140 -     let path = &env.dir.path().clone();
[INFO] [stdout] 140 +     let path = &env.dir.path();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/setup/dir_diff.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     Io(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 -     Io(std::io::Error),
[INFO] [stdout] 20 +     Io(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/setup/dir_diff.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     WalkDir(walkdir::Error),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 22 -     WalkDir(walkdir::Error),
[INFO] [stdout] 22 +     WalkDir(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/setup/mod.rs:140:31
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let path = &env.dir.path().clone();
[INFO] [stdout]     |                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 140 -     let path = &env.dir.path().clone();
[INFO] [stdout] 140 +     let path = &env.dir.path();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.81s
[INFO] running `Command { std: "docker" "inspect" "551bee0bad7d37fcab9c3b517c991c16b68b3cd7d4e6b4816226b3a8dfe4e88a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "551bee0bad7d37fcab9c3b517c991c16b68b3cd7d4e6b4816226b3a8dfe4e88a", kill_on_drop: false }`
[INFO] [stdout] 551bee0bad7d37fcab9c3b517c991c16b68b3cd7d4e6b4816226b3a8dfe4e88a
